package com.elvin.platform.beans;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;


@JsonIgnoreProperties(ignoreUnknown = true)
public class DeviceReport  extends Model<DeviceReport> {
    private static final long serialVersionUID = 1L;
    private Integer upPacketSN;
    private Integer upDataSN;
    private Integer assocAssetI;
    private String topic;
    private Long timestamp;
    private String tenantId;
    private Long serviceId;
    private String protocol;
    private String productId;
    private String messageType;
    private Integer eventType;
    private String deviceSn;
    private String deviceId;
    private String IMSI;
    private String IMEI;

    private JSONObject eventContent;
    private JSONObject payload;

    public Integer getUpPacketSN() {
        return upPacketSN;
    }

    public void setUpPacketSN(Integer upPacketSN) {
        this.upPacketSN = upPacketSN;
    }

    public Integer getUpDataSN() {
        return upDataSN;
    }

    public void setUpDataSN(Integer upDataSN) {
        this.upDataSN = upDataSN;
    }

    public Integer getAssocAssetI() {
        return assocAssetI;
    }

    public void setAssocAssetI(Integer assocAssetI) {
        this.assocAssetI = assocAssetI;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public Integer getEventType() {
        return eventType;
    }

    public void setEventType(Integer eventType) {
        this.eventType = eventType;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getIMSI() {
        return IMSI;
    }

    public void setIMSI(String IMSI) {
        this.IMSI = IMSI;
    }

    public String getIMEI() {
        return IMEI;
    }

    public void setIMEI(String IMEI) {
        this.IMEI = IMEI;
    }

    public JSONObject getEventContent() {
        return eventContent;
    }

    public void setEventContent(JSONObject eventContent) {
        this.eventContent = eventContent;
    }

    public JSONObject getPayload() {
        return payload;
    }

    public void setPayload(JSONObject payload) {
        this.payload = payload;
    }

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
